package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Emp;
import com.itheima.pojo.EmpQueryParam;
import com.itheima.pojo.PageResult;

import java.util.List;

public interface EmpService  extends IService<Emp> {
    //分页查询
    PageResult<Emp> getPageResult(EmpQueryParam param);
    //新增员工
    void saveEmp(Emp emp);
    //批量删除员工
    void deleteByIds(List<Integer> ids);
    //修改员工
    void updateEmp(Emp emp);
}
